package cx.ath.skyflyer.contactless;

/**
 *
 * @author Ahti Legonkov
 */
public class NdefClient {

    public static void register(final RecordListener recordListener) {
        if (useNfc()) {
            RealNdefClient.register(recordListener);
        }
    }

    /**
     * Returns true if NFC should be used, false otherwise.
     * @return
     */
    public static boolean useNfc() {
        return true;
    }
}
